package com.why.sharding.util;

import lombok.experimental.UtilityClass;

/**
 * @description:
 * @author: wanghongyu | stan.wang@paytm.com
 * @create: 2022/01/19
 **/
@UtilityClass
public class StringUtils {
    public Long getObjLong(Object obj){
        return obj == null ? null : Long.parseLong(obj.toString());
    }
}
